package com.ruoyi.project.lely.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 意见反馈
 *
 * @author luoyong
 */
@Data
@ApiModel("意见反馈 入参DTO")
public class LyFeedbackDTO {

    @ApiModelProperty("ID")
    private Long id;

    @Length(max = 20, message = "手机号长度不能超过20位")
    @ApiModelProperty("手机号")
    private String mobile;

    @Length(max = 63, message = "反馈类型长度不能超过63位")
    @NotEmpty
    @ApiModelProperty("反馈类型")
    private String feedType;

    @Length(max = 1023, message = "反馈内容长度不能超过1023位")
    @NotEmpty
    @ApiModelProperty("反馈内容")
    private String content;

    @Length(max = 1023, message = "图片地址列表，采用JSON数组格式长度不能超过1023位")
    @ApiModelProperty("图片地址列表，采用JSON数组格式")
    private String picUrls;

}
